package com.ruoyi.gp.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.math.BigDecimal;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 服务包业务对象 service_pack
 *
 * @author ruoyi
 * @date 2024-03-07
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ServicePackBo extends BaseEntity {

    /**
     * 服务包id
     */
    @NotNull(message = "服务包id不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 服务包名
     */
    @NotBlank(message = "服务包名不能为空", groups = { AddGroup.class, EditGroup.class })
    private String serviceName;

    /**
     * 服务包图片
     */
    @NotBlank(message = "服务包图片不能为空", groups = { AddGroup.class, EditGroup.class })
    private String serviceImage;

    /**
     * 服务包价格
     */
    @NotNull(message = "服务包价格不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal servicePrice;

    /**
     * 服务包介绍
     */
    @NotBlank(message = "服务包介绍不能为空", groups = { AddGroup.class, EditGroup.class })
    private String serviceText;

    /**
     * 
     */
    @NotNull(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long shoppingPlatformId;

    /**
     * 服务包url
     */
    @NotBlank(message = "服务包url不能为空", groups = { AddGroup.class, EditGroup.class })
    private String url;

    /**
     * 服务包分类
     */
    @NotNull(message = "服务包分类不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long serviceCategory;

    /**
     * 服务包状态
     */
    @NotBlank(message = "服务包状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private String serviceStart;

    /**
     * 服务包收益
     */
    @NotNull(message = "服务包收益不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal serviceIncome;


}
